﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
// ReSharper disable InconsistentNaming

namespace ChanTai.WebApi.Data
{
    /// <summary>
    /// 标的信息
    /// </summary>
    public class ItemAcci:ApiCovent
    {
        /// <summary>
        /// 默认初始化
        /// </summary>
        public ItemAcci()
        {
            journeyEnd = "";
            journeyBack = "";
            fieldAA = "";
            fieldAB = "";
            fieldAC = "";
            fieldAD = "";
            fieldAE = "";
            fieldAF = "";
            fieldAG = "";
            fieldAH = "";
        }
        /// <summary>
        /// *定额类型
        /// </summary>
        public bool bationType { get; set; }


        /// <summary>
        /// *职业[2]
        /// </summary>
        public string insuredBusinessSource { get; set; }

        /// <summary>
        /// *投保人数
        /// </summary>
        public int quantity { get; set; }
        /// <summary>
        /// 旅行目的地[200]
        /// </summary>
        public string journeyEnd { get; set; }

        /// <summary>
        /// 旅行返回地点[200]
        /// </summary>
        public string journeyBack { get; set; }

        /// <summary>
        /// 动态字段AA[400]
        /// </summary>
        public string fieldAA { get; set; }

        /// <summary>
        /// 动态字段AB[400]
        /// </summary>
        public string fieldAB { get; set; }

        /// <summary>
        /// 动态字段AC[400]
        /// </summary>
        public string fieldAC { get; set; }

        /// <summary>
        /// 动态字段AD[400]
        /// </summary>
        public string fieldAD { get; set; }

        /// <summary>
        /// 动态字段AE[400]
        /// </summary>
        public string fieldAE { get; set; }

        /// <summary>
        /// 动态字段AF[400]
        /// </summary>
        public string fieldAF { get; set; }

        /// <summary>
        /// 动态字段AF[400]
        /// </summary>
        public string fieldAG { get; set; }

        /// <summary>
        /// 动态字段AH[400]
        /// </summary>
        public string fieldAH { get; set; }

        /// <summary>
        /// 定额类型
        /// </summary>
        /// <returns></returns>
        public string getbationType()
        {
            return BoolToStr(bationType);
        }

    }
}
